/**
 * runner
 */
package com.whilefor.runner.modules.runner.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.whilefor.runner.common.persistence.Page;
import com.whilefor.runner.common.service.CrudService;
import com.whilefor.runner.modules.runner.entity.RunnerGoods;
import com.whilefor.runner.modules.runner.dao.RunnerGoodsDao;

/**
 * 商品管理Service
 * @author lins
 * @version 2016-04
 */
@Service
@Transactional(readOnly = true)
public class RunnerGoodsService extends CrudService<RunnerGoodsDao, RunnerGoods> {

	public RunnerGoods get(String id) {
		return super.get(id);
	}
	
	public List<RunnerGoods> findList(RunnerGoods runnerGoods) {
		return super.findList(runnerGoods);
	}
	
	public Page<RunnerGoods> findPage(Page<RunnerGoods> page, RunnerGoods runnerGoods) {
		return super.findPage(page, runnerGoods);
	}
	
	@Transactional(readOnly = false)
	public void save(RunnerGoods runnerGoods) {
		super.save(runnerGoods);
	}
	
	@Transactional(readOnly = false)
	public void delete(RunnerGoods runnerGoods) {
		super.delete(runnerGoods);
	}
	
}